package tests;


import bookworm.BookCoverAndHowManyDaysToFinishIt;
import bookworm.LooksForHowManyDaysToReadBook;

public class TestHowManyDaysToreadABook 
{
	public static void main(String args[])
	{
		LooksForHowManyDaysToReadBook howManyDaysToReadBook = new LooksForHowManyDaysToReadBook();
		String bookName = "The Last Invisible Boy";
		BookCoverAndHowManyDaysToFinishIt daysToFinishBook =
				howManyDaysToReadBook.howManydaysToFinishThisBook(bookName);
		System.out.println("it takes this many days to read this book:" + bookName);
		System.out.println(daysToFinishBook.getHowManyDaysToFinishBook() + " days");
		System.out.println("book cover:" + daysToFinishBook.getBookCoverAddress());
		
	}

}
